package com.springDemo.AOP.test;

import com.springDemo.AOP.proxy.PayDynamicProxyByCGLIB;
import com.springDemo.AOP.service.PayApiImpl;

/**
 * Created by Administrator on 2016/7/11.
 */
public class PayTestCGLIB {
    public static void main(String[] args) {
        PayDynamicProxyByCGLIB cglib = new PayDynamicProxyByCGLIB();
        PayApiImpl pay = (PayApiImpl)cglib.getInstance(new PayApiImpl());
        pay.payByRMB("KEN");
    }

}
